import {Injectable} from "@angular/core";
import {DateTimeProvider} from "angular-oauth2-oidc";

@Injectable()
export class CustomDateTimeProvider extends DateTimeProvider{
  new(): Date {
    // Implement your custom date.
    return new Date();
  }

  now(): number {
    return Date.now(); //- 10000000;
  }

}
